package com.zkhz.base.common.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author ZhiYong
 * @ClassName BaseEntityDTO.java
 * @Description TODO
 * @createTime 2022/02/27 22:01:00
 */
@Data
public abstract class BaseEntityDTO implements Serializable {
    @ApiModelProperty(value = "主键(新增提交数据可以忽略)")
    protected String id;
    @ApiModelProperty(value = "创建时间")
    protected LocalDateTime createTime;
    @ApiModelProperty(value = "更新时间")
    protected LocalDateTime updateTime;
    @ApiModelProperty(value = "创建人")
    protected String createUser;
    @ApiModelProperty(value = "更新人")
    protected String updateUser;
    @ApiModelProperty(value = "软删除。默认不删除。")
    protected Boolean deleted = false;
}
